package com.hnas.api.dto;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component("commonKeyData")
public class CommonKeyData {
	
	@Value(value="#{component['appid']}")
	private String appid = "com_ykt_test_app";// 公司标识
	@Value(value="#{component['token']}")
	private String token = "1JC5S1RBI8";// 令牌
	@Value(value="#{component['key']}")
	private String key = "OZ734W25600RUHX1";// 加密key
	@Value(value="#{component['termNo']}")
	private String termNo = "42B8906E-6726-5CBA-7DA0-43726622109N";// 设备编号，唯一

	public CommonKeyData() {
		super();
	}

	public CommonKeyData(String appid, String token, String key, String termNo) {
		this.appid = appid;
		this.token = token;
		this.key = key;
		this.termNo = termNo;
	}

	public String getAppid() {
		return appid;
	}

	public String getToken() {
		return token;
	}

	public String getKey() {
		return key;
	}

	public String getTermNo() {
		return termNo;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public void setTermNo(String termNo) {
		this.termNo = termNo;
	}
	
}
